home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
graphics
/
anipnt42.arj
/
SAMPLE.ACT
< prev
next >
Wrap
Text File
|
1994-01-09
|
6KB
|
212 lines
This is an AniPaint Slide Show Presentation Script File
PLAYACT1.EXE needed to run without AniPaint. Syntax:
PLAYACT1 <NAME.ACT><VGA>or<SVGA><SVGA2><SVGA3><SVGA4><SVGA16>
Inside ScriptFile the scriptcommand syntax is: COMMANDNAME:COMMAND
ALL COMMANDS MUST BE in CAPITAL LETTERS except the x in 320x200
Full pathnames OK :eg: C:\DIRECTORY\FILENAME.EXT
Available Scriptfile commandnames are: BACKGROUNDNAME, ACT1NAME,
TEXTFILENAME,ACT1FRAMEDELAY,ZOOMFACTOR,ACT1POSX,ACT1POSY,READAKEY
TEXTFILESTARTX,TEXTFILESTARTY,TEXTFILEENDX,TEXTFILEENDY,SETPALETTENAME
FAST320x200VCX,<---320x200 VGA resolution only, TIMEDELAY
TEXTLINE#,WINDOWFONT#,WINDOWFONTSIZE#,LIVEDOCFILENAME,ACT2POSX,ACT2POSY
ACT1BACKGROUNDCOLOR#,ACT2NAME,REPEATSTART,REPEATEND.
First Position, then details, then filename. Repeats if markers present
See AniPaint documentation for more commands and information.
AniPaint, Playact1 (c) 1993 by Rick Sobie Lake Cowichan B.C. Canada.
PLAYACT1 /h for help with PLAYACT1.EXE
Comments are allowed anywhere on a line by themselves.
Any command below this line is acted upon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SETPALETTENAME:C:\ANIPAINT\PALETTES\MENU1.PAL
BACKGROUNDNAME:C:\ANIPAINT\DEMOS\DEMOVCX.VCX
(draw a bitmap on the screen)
(This 256 color VCX can be converted to 16 colors with the
Reduce Color Icon.)
TEXTFONT#:1
TEXTSIZE#:3
TEXTATX:10
TEXTATY:400
RAWTEXT:Over 120 tools for creating and altering images.
TEXTFONT#:1
TEXTSIZE#:4
TEXTATX:200
TEXTATY:430
RAWTEXT:AniPaint
(text on bottom)
TEXTFONT#:2
TEXTSIZE#:4
TEXTATX:1
TEXTATY:470
RAWTEXT:Press any key or button to continue, or ESC to Quit
READAKEY:
(how to exit fast)
SETPALETTENAME:
(left blank it activates the palette load function that was
deactivated above with the nopalettne command, act1 and VCX
carry palette information)
CLEARIT:
(clear the screen)
WINDOWFONT#:7
WINDOWFONTSIZE#:1
TEXTFILESTARTX:16
TEXTFILESTARTY:16
TEXTFILEENDX:640
TEXTFILEENDY:160
TEXTFILENAME:C:\ANIPAINT\DEMOS\SAMPLE.TXT
TIMEDELAY:1000
(load a file of text into a window)
ACT1POSX:520
ACT1POSY:40
ZOOMFACTOR:1
ACT1FRAMEDELAY:200
SETPALETTENAME:
ACT1BACKGROUNDCOLOR#:0
ACT1NAME:C:\ANIPAINT\DEMOS\PAINTER.ANI
(put a little act1 animation in the text window)
TEXTFONT#:1
TEXTSIZE#:1
TEXTATX:30
TEXTATY:210
RAWTEXT:Any Key or Button ...
READAKEY:
WINDOWFONT#:5
WINDOWFONTSIZE#:3
TEXTFILEENDY:270
TEXTLINE#:30
TEXTFILENAME:C:\ANIPAINT\DEMOS\SAMPLE.TXT
( open same text file into a window only 30 lines
down and change font)
OBJECTPOSX:300
OBJECTPOSY:1
OBJECTNAME:C:\ANIPAINT\OBJECTS\FLOWER.PNT
TEXTFONT#:1
TEXTSIZE#:1
TEXTATX:30
TEXTATY:310
RAWTEXT:Any Key or Button ...
READAKEY:
(put a flower object into the text window)
ACT1POSX:5
ACT1POSY:300
ZOOMFACTOR:2
ACT1FRAMEDELAY:0
SETPALETTENAME:
ACT1BACKGROUNDCOLOR#:0
ACT1NAME:C:\ANIPAINT\DEMOS\CHRIS.ANI
ACT1POSX:215
ACT1POSY:300
ZOOMFACTOR:2
ACT1FRAMEDELAY:0
SETPALETTENAME:
ACT1BACKGROUNDCOLOR#:0
NOPALETTE:
ACT1NAME:C:\ANIPAINT\DEMOS\CHRIS.ANI
ACT1POSX:425
ACT1POSY:300
ZOOMFACTOR:2
ACT1FRAMEDELAY:0
SETPALETTENAME:
ACT1BACKGROUNDCOLOR#:0
NOPALETTE:
ACT1NAME:C:\ANIPAINT\DEMOS\CHRIS.ANI
READAKEY:
( three occurrances of 20 frames of same act1 animation)
SETPALETTENAME:C:\ANIPAINT\PALETTES\MENU1.PAL
BACKGROUNDNAME:C:\ANIPAINT\DEMOS\DEMOVCX.VCX
TEXTFONT#:1
TEXTSIZE#:1
TEXTATX:100
TEXTATY:410
RAWTEXT:Four Short Sample ACT1 Animation Sequences
TEXTFONT#:1
TEXTSIZE#:1
TEXTATX:10
TEXTATY:450
RAWTEXT:ESC to EXIT...
REPEATSTART:
(start repeating small act1 animation sequences)
ACT1FRAMEDELAY:0
ZOOMFACTOR:1
ACT1POSX:45
ACT1POSY:184
NOPALETTE:
(prevent screen flashes as palette loads in short act1 sequences
that are repeated. this act1 uses same palette as current)
ACT1NAME:C:\ANIPAINT\DEMOS\HNDPOINT.ANI
ACT1NAME:C:\ANIPAINT\DEMOS\HNDPOINT.ANI
ACT1FRAMEDELAY:60
ZOOMFACTOR:1
ACT1POSX:514
ACT1POSY:30
ACT1NAME:C:\ANIPAINT\DEMOS\THEAD.ANI
ACT1NAME:C:\ANIPAINT\DEMOS\THEAD.ANI
ACT1NAME:C:\ANIPAINT\DEMOS\THEAD.ANI
ACT1FRAMEDELAY:60
ZOOMFACTOR:1
ACT1POSX:207
ACT1POSY:11
ACT1NAME:C:\ANIPAINT\DEMOS\BFLY.ANI
ACT1FRAMEDELAY:60
ZOOMFACTOR:1
ACT1POSX:301
ACT1POSY:223
ACT1NAME:C:\ANIPAINT\DEMOS\FPLACE.ANI
ACT1NAME:C:\ANIPAINT\DEMOS\FPLACE.ANI
ACT1NAME:C:\ANIPAINT\DEMOS\FPLACE.ANI
REPEATEND:
(finish repeating after keypressed)
To make the script easier to understand I have commented it with
text in brackets. It is not required. Commands must be on a line
by themselves without comments.
If you want to leave a command but deactivate it, you can do this:
A_CT1NAME the word is now changed and not a command
A good way to learn how to use scripts is to alter the examples.
Steps used to make the 3D GRAPH appearing in the picture:
1) Loaded c:\anipaint\objects\3Dgraph.pnt into a window
2) Used Color Replacer eraser and made back of graph a different color
but left lines. (R color white, L color black)
3) Did the same for bottom of graph but increased color from
dark green to light. (L color black, R color green +2)
4) Selected a start Right Color for gradient.
5) Used the 3D bars Icon option and entered : width 30,
height assorted, depth assorted, gradient: yes
6) Put bars on graph.
7) Entered text, cut & pasted into position
8) Loaded PCX picture into a window then "cut poly" a sky scene.
9) Used Bluescreen Icon and pasted clip onto back of graph
(replaced only the color white on the back board and numbers).
10) Added Title, Bullets, and Text.
Whole Process took approx 30 minutes. Would be much shorter the
second time. Save often, and use those clips.
I have not included any ACT2 animation in this script. Act2 animation
is 320x200 and the filesize is over 60,000 bytes per frame. I am
limiting the size of this release in order to allow it to be
transferred by modem in a reasonable period of time.
You can create your own ACT2 animation and add it to this script
or create a new one. See the AniPaint Documentation.